/* --------------------------------------------------------
 * Copyright (c) aeky , Inc.  All rights reserved.
 * --------------------------------------------------------
 */
package com.aeky.command;

/**
 * 具体命令对象(关灯命令对象)
 * 
 * @author aeky
 */
public class LightOffCommand implements Command {

    private Light light;

    public LightOffCommand(Light light) {
        this.light = light;
    }

    /*
     * 
     * @see com.aeky.command.Command#execute()
     */
    @Override
    public void execute() {
        light.lightOff();
    }

}
